home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / fddev202.arc / C.ARC / SESSION.H < prev    next >
Text File  |  1991-10-01  |  2KB  |  51 lines

  1. /*
  2. **  session.h (FrontDoor)
  3. **
  4. **  Copyright 1991 Joaquim H. Homrighausen. All rights reserved.
  5. **
  6. **  PASSWORD.FD format for FrontDoor 2.00+
  7. **
  8. **  Last revision:  91-10-02
  9. **                            
  10. **  -------------------------------------------------------------------------
  11. **  This information is not necessarily final and is subject to change at any
  12. **  given time without further notice
  13. **  -------------------------------------------------------------------------
  14. */
  15.  
  16.  
  17. /*
  18. **  Status values, non-exclusive bit values
  19. **
  20. **  I.e. If the NOFREQS and ACTIVE options were set for an entry in the
  21. **       security list, the status field would contain 0x05.
  22. */
  23. #define ACTIVE      0x01                  /* Active, as opposed to inactive */
  24. #define DELETED     0x02                           /* Never written to disk */
  25. #define NOFREQS     0x04           /* Don't allow file requests from system */
  26. #define NOMAIL      0x08                    /* Don't allow mail from system */
  27. #define NOEMSI      0x10              /* No outbound EMSI sessions w/system */
  28. #define NOFTSC1     0x20            /* No outbound FTSC-1 sessions w/system */
  29. #define NOZAP       0x40            /* No outbound ZedZap sessions w/system */
  30. #define NOYOOHOO    0x80            /* No outbound YooHoo sessions w/system */
  31.  
  32. /*
  33. **  Note that any settings in the FDOPT environment variable applies to
  34. **  all sessions (inbound AND outbound). For example, if FDOPT contains
  35. **  "NOEMSI", NO EMSI handshaking will be done, regardless of settings
  36. **  in the security manager
  37. */
  38.  
  39. typedef struct
  40.     {
  41.     word    zone,
  42.             net,
  43.             node,
  44.             point;
  45.     char    password[9];                                  /* NUL terminated */
  46.     byte    status;
  47.     }
  48.     _PSW, *PSWPTR;
  49.  
  50. /* end of file "session.h" */
  51.